home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
ir
/
irretrvl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-09
|
860b
|
33 lines
/* WIDE AREA INFORMATION SERVER SOFTWARE:
No guarantees or restrictions. See the readme file for the full standard
disclaimer. */
#ifndef IRRETRVL_H
#define IRRETRVL_H
#include "cdialect.h"
#include "docid.h"
#include "wprot.h"
#include "version.h"
/* error codes for getDocumentText() */
#define GDT_NoError 0
#define GDT_UnsupportedChunkType 1
#define GDT_BadDocID 2
#define GDT_MissingDocID 3
#define GDT_BadRange 4
#define GDT_MissingDatabase 5
#define GDT_BadDatabase 6
WAISDocumentText* getData _AP((DocObj* doc, long* errorCode,
char* index_directory));
WAISDocumentText* getDocumentText _AP((DocObj* doc, long* errorCode,
char* index_directory));
boolean parseDocID _AP((DocObj* doc,char* filename,long* start_character,
long* end_character,long* errorCode));
#endif /* ndef IRRETRVL_H */